[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
UPCASE
Function
Set the force uppercase flag in an INPUTSTR or PROMPTSTR statement.
Value
8 = 1000b = 10o = 8h
Remarks
The INPUTSTR and PROMPTSTR statements have the ability to force all
input characters to uppercase. This is useful in getting case
insensitive replies from the user. If this flag is used, you need not
pass lowercase valid characters as they will be automatically converted
at runtime. If this flag is not used and you need to input alphabetic
characters, you should pass both lowercase and uppercase characters in
the valid character string.
Example
STRING s
WHILE (s <> "QUIT") DO
INPUTSTR "Text",s,@X0E,60,"ABCDEFGHIJKLMNOPQRSTUVWXYZ",UPCASE
PRINTLN s
ENDWHILE
See Also:
INPUTSTR
PROMPTSTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson